$(function () {

    /*320  32
                360 36  
                640 屏幕根元素字体大小就是64px
                屏幕 / 10*/
    
    var windowWidth = document.documentElement.clientWidth;
    if(windowWidth<=750){
        var htmlfontSize = windowWidth / 30;
        document.querySelector('html').style.fontSize = htmlfontSize + 'px';
    }
    window.addEventListener('resize', function () {
        var windowWidth = document.documentElement.clientWidth;
        if(windowWidth<=750){
            var htmlfontSize = windowWidth / 30;
            document.querySelector('html').style.fontSize = htmlfontSize + 'px';
        }
    });

})